﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using XchangeStreamer.Core.CacheServer;

namespace XchangeStreamer.CacheServer.Core
{
    internal sealed partial class Engine : IRetriever
    {
        #region IRetriever Members

        public List<System.ServiceModel.Channels.Message> Retrieve(int clientMessageId, int serverMessageId, int[] topicsId)
        {
            if (topicsId == null || topicsId.Length < 1)
            {
                return null;
            }
            return this.Get(clientMessageId, serverMessageId, topicsId);
        }

        #endregion
    }
}
